package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.DispatchEnergyConsumption;

/**
 * 能耗分析Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public interface DispatchEnergyConsumptionMapper 
{
    /**
     * 查询能耗分析
     * 
     * @param energyConsumptionId 能耗分析主键
     * @return 能耗分析
     */
    public DispatchEnergyConsumption selectDispatchEnergyConsumptionByEnergyConsumptionId(Long energyConsumptionId);

    /**
     * 查询能耗分析列表
     * 
     * @param dispatchEnergyConsumption 能耗分析
     * @return 能耗分析集合
     */
    public List<DispatchEnergyConsumption> selectDispatchEnergyConsumptionList(DispatchEnergyConsumption dispatchEnergyConsumption);

    /**
     * 新增能耗分析
     * 
     * @param dispatchEnergyConsumption 能耗分析
     * @return 结果
     */
    public int insertDispatchEnergyConsumption(DispatchEnergyConsumption dispatchEnergyConsumption);

    /**
     * 修改能耗分析
     * 
     * @param dispatchEnergyConsumption 能耗分析
     * @return 结果
     */
    public int updateDispatchEnergyConsumption(DispatchEnergyConsumption dispatchEnergyConsumption);

    /**
     * 删除能耗分析
     * 
     * @param energyConsumptionId 能耗分析主键
     * @return 结果
     */
    public int deleteDispatchEnergyConsumptionByEnergyConsumptionId(Long energyConsumptionId);

    /**
     * 批量删除能耗分析
     * 
     * @param energyConsumptionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDispatchEnergyConsumptionByEnergyConsumptionIds(Long[] energyConsumptionIds);
}
